{literal}
var KONFIGURATOR_BASE_CHECKBOX = {
	praefix: '',
	description: '',
	err_msg: '',
	value: '-1',

  init: function() {
  	//$D('[base] init .. '+this.praefix); 
{/literal}{if $FORM_ACTION == true}{literal}
  	KONFIGURATOR_objects.push(this.praefix.toUpperCase());
		$('input:checkbox[name='+this.praefix.toUpperCase()+']').attr({'name': this.praefix.toUpperCase()+'[]'});
{/literal}{/if}{literal}
	},
  
	loadValue: function(id) {
{/literal}{if $FORM_ACTION == true}{literal}
		this.selectValue(id, true);
  },
  
  selectValue: function(id, checked) {
  	if ( checked != $('input:checkbox[name='+this.praefix.toUpperCase()+'[]]').filter('[value='+id+']').is(':checked') ) {
			if($('input:checkbox[name='+this.praefix.toUpperCase()+'[]]').filter('[value='+id+']').siblings('span.checkbox').length > 0)
				$('input:checkbox[name='+this.praefix.toUpperCase()+'[]]').filter('[value='+id+']').siblings('span.checkbox').trigger('onmouseup');
			else
				$('input:checkbox[name='+this.praefix.toUpperCase()+'[]]').filter('[value='+id+']').attr('checked', true);
		}
{/literal}{/if}{literal}
  },
  
  evalValue: function() {
		return {'status':'okay'};
	}

};

{/literal}